-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add region interactor, improve selection handling. #571
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -432,6 +432,12 @@ export interface MarkOptions { | |||
| (TipOptions & { pointer?: TipPointer }) | |||
| ParamRef; | |||
|
|||
/** | |||
* Additional named channels, for example to include in a tooltop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Additional named channels, for example to include in a tooltop. | |
* Additional named channels, for example to include in a tooltip. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hahaha. Good catch.
@@ -30,7 +30,7 @@ export function intersect(svg, el, extent) { | |||
list.push(child); | |||
} | |||
} | |||
return list; | |||
return /** @type {SVGElement[]} */(list); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be easier/clearer to move this up to line 18?
region
interactor for 2D selection of individual point values.isIn
function.channels
mark property to spec types.